//
//  HXColorPlaceholderTextField.m
//  KD
//
//  Created by ifly on 16/3/24.
//  Copyright © 2016年 Whx. All rights reserved.
//

#import "HXColorPlaceholderTextField.h"

static NSString * const XMGPlacerholderColorKeyPath = @"_placeholderLabel.textColor";

@implementation HXColorPlaceholderTextField

- (void)awakeFromNib
{
    // 设置光标颜色和文字颜色一致
    self.tintColor = self.textColor;
    [self setValue:self.textColor forKeyPath:XMGPlacerholderColorKeyPath];
}

@end
